﻿<%@ Page Title="" Language="C#" MasterPageFile="~/rightContent.Master" AutoEventWireup="true"
    CodeBehind="monthCustomView.aspx.cs" Inherits="WEB.T_bill.monthCustomView " %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="title" runat="server">
    费用期结
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
    <script type="text/javascript" src="../js/My97DatePicker/WdatePicker.js"></script>
    <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
    </asp:ToolkitScriptManager>
    <table style="width: 100%;">
        <tr>
            <td>
                &nbsp;
            </td>
        </tr>
        <tr>
            <td align="center">
                <table width="600px">
                    <tr>
                        <td align="right">
                            时间段:
                        </td>
                        <td align="left">
                            <asp:TextBox ID="tbTimestart" runat="server" class="Wdate" MaxLength="10"></asp:TextBox>
                            至<asp:TextBox ID="tbTimestop" runat="server" class="Wdate" MaxLength="10"></asp:TextBox>
                            <asp:DropDownList ID="ddlorder" runat="server" AutoPostBack="True" >
                                <asp:ListItem Value="desc">降序</asp:ListItem>
                                <asp:ListItem Value="asc">升序</asp:ListItem>
                            </asp:DropDownList>
                            
                        </td>
                    </tr>
                    <tr>
                        <td align="right">
                            客户公司名称：
                        </td>
                        <td align="left">
                            <asp:TextBox ID="tbQuery" runat="server" MaxLength="30" Width="360px"></asp:TextBox>
                            <asp:AutoCompleteExtender ID="AutoCompleteExtender1" runat="server" ServiceMethod="GetCustomersName"
                                TargetControlID="tbQuery" MinimumPrefixLength="1" CompletionInterval="358">
                            </asp:AutoCompleteExtender>
                            <asp:Button ID="btnQuery" runat="server" Text="  查 询" OnClick="btnQuery_Click" CssClass="Submit_Query" />
                        </td>
                    </tr>
                    
                </table>
            </td>
        </tr>
        <tr>
        <td align ="center" >
            <asp:CheckBox ID="cb1" runat="server" Checked="True" Text="订单号" />
             <asp:CheckBox ID="cb9" runat="server" Checked="True" Text="提单号" />
            <asp:CheckBox ID="cb2" runat="server" Checked="True" Text="合同号" />
            <asp:CheckBox ID="cb3" runat="server" Checked="True" Text="船名" />
            <asp:CheckBox ID="cb4" runat="server" Checked="True" Text="货名" />
            <asp:CheckBox ID="cb5" runat="server" Checked="True" Text="目的地" />
            <asp:CheckBox ID="cb6" runat="server" Checked="True" Text="数量" />
            <asp:CheckBox ID="cb7" runat="server" Checked="True" Text="报关单号" />
             <asp:CheckBox ID="cb8" runat="server" Checked="True" Text="报检号" />
        </td>
        </tr>
        <tr>
        <td align ="center" >
            <asp:CheckBox ID="cbagency" runat="server" Checked="True" Text="船舶代理" />
            <asp:CheckBox ID="cbDangerousGoods" runat="server" Checked="True" Text="危险品" />
            <asp:CheckBox ID="cbcontainerNo" runat="server" Checked="True" Text="集装箱号" />
            <asp:CheckBox ID="cbgoodstype2" runat="server" Checked="True" Text="货物种类" />
            <asp:CheckBox ID="cbgrossWeight" runat="server" Checked="True" Text="毛重" />
        </td>
        </tr>
        <tr>
            <td align="center" class="style1">
                <asp:GridView ID="gvMonth" runat="server" Height="16px" Style="margin-top: 0px" 
                    CellPadding="4" DataKeyNames="委托单号" ForeColor="Black" GridLines="Vertical" OnRowDataBound="gvMonth_RowDataBound"
                    BackColor="White" BorderColor="#DEDFDE" BorderStyle="None" BorderWidth="1px"
                    CssClass="distance" OnSelectedIndexChanged="gvMonth_SelectedIndexChanged" 
                    ShowFooter="True">
                    <AlternatingRowStyle BackColor="White" />
                    <Columns>
                        <asp:TemplateField>
                            <ItemTemplate>
                                <asp:CheckBox ID="Cbbill" runat="server" />
                            </ItemTemplate>
                            <HeaderTemplate>
                                <asp:CheckBox ID="cbAll" runat="server" AutoPostBack="True" 
                                    oncheckedchanged="cbAll_CheckedChanged" />
                            </HeaderTemplate>
                            <ItemStyle Width="20px" />
                        </asp:TemplateField>
                    </Columns>
                    <FooterStyle BackColor="#CCCC99" />
                    <HeaderStyle BackColor="#6B696B" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="#F7F7DE" ForeColor="Black" HorizontalAlign="Right" />
                    <RowStyle BackColor="#F7F7DE" />
                    <SelectedRowStyle BackColor="#CE5D5A" Font-Bold="True" ForeColor="White" />
                    <SortedAscendingCellStyle BackColor="#FBFBF2" />
                    <SortedAscendingHeaderStyle BackColor="#848384" />
                    <SortedDescendingCellStyle BackColor="#EAEAD3" />
                    <SortedDescendingHeaderStyle BackColor="#575357" />
                </asp:GridView>
            </td>
        </tr>
        <tr>
            <td align="center">
                <asp:Label ID="Label1" runat="server" Text="选择票结模板：" Visible="False"></asp:Label>
                <asp:DropDownList ID="ddl_Model" runat="server" Visible="False">
                </asp:DropDownList>
&nbsp;<asp:Button ID="btnticket" runat="server" onclick="btnticket_Click1" Text="导出票结" 
                    CssClass="Submit_yellowDown" Visible="False" />
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;选择月结模板：<asp:DropDownList ID="ddl_Yue" 
                    runat="server">
                    <asp:ListItem Value="1">月结默认模板</asp:ListItem>
                    <asp:ListItem Value="2">壳牌（中国）有限公司</asp:ListItem>
                </asp:DropDownList>
&nbsp;<asp:Button ID="btnDrive2" runat="server" OnClick="btnDrive2_Click" Text="导出月结"
                    CssClass="Submit_yellowDown" Width="101px" />
            </td>
        </tr>
        <tr>
            <td>
             
            </td>
        </tr>
    
     </table>
</asp:Content>
